package cn.sdut.training.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.sdut.training.dao.BaseDao;
import cn.sdut.training.domain.Record;
import cn.sdut.training.service.RecordService;
import cn.sdut.training.utils.HqlHelper;
import cn.sdut.training.utils.PageView;

@Service("recordService")
public class RecordServiceImpl implements RecordService{

	/* 注入记录dao */
	@Resource
	private BaseDao<Record> recordDao ;
	
	public void delete(Long id) {
		
	}

	@Override
	public Record getById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void save(Record record) {
	}

	@Override
	public void update(Record record) {
		
	}
	
	@Override
	public PageView getPageView(HqlHelper hqlHelper, Integer pageNum) {
		return recordDao.getPageView(hqlHelper, pageNum);
	}

}
